/**  
 * All rights Reserved, Designed By Android_Robot   
 * @Title:  MyClickableSpan.java   
 * @Package com.swift.widget   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: HYM     
 * @date:   2017-6-27 下午5:45:37   
 * @version V1.0     
 */  
package com.swift.widget;

import android.graphics.Color;
import android.text.TextPaint;
import android.text.style.ClickableSpan;
import android.view.View;

/**   
 * @ClassName:  MyClickableSpan   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: HYM  
 * @date:   2017-6-27 下午5:45:37   
 *      
 */
/**
 * 继承ClickableSpan复写updateDrawState方法，自定义所需样式
 * @author Rabbit_Lee
 *
 */
public class MyClickableSpan extends ClickableSpan {

    @Override
    public void onClick(View widget) {

    }

    @Override
    public void updateDrawState(TextPaint ds) {
        super.updateDrawState(ds);
        ds.setColor(Color.BLUE);
        ds.setUnderlineText(false);
    }

}
